﻿/*
    File Name:      uknow_home.js
    Created By:     victor.liu
    Created When:   2012-03-28
    Created Whys:   
*/

function ViewCount() { };

ViewCount.increment = function (langID) {
    var gateUrl = "/GateService/Home_View_Count.aspx?lang=" + langID + "&op=set&ram=" + new Date().toLocaleString();
    var req = new ajaxRequest(gateUrl);
    req.async = false;
    req.dataType = "xml";
    req.get(function (res) {
        //alert(res.xml);
    });
};

ViewCount.increment(g_langID);